package audit

import (
	"counter-help/admin/server/global"
)

// TechnicalVerification 技术审核模型
type TechnicalVerification struct {
	global.GVA_MODEL
	UserID              uint   `json:"userId" gorm:"column:user_id;comment:用户ID"`
	CompanyName         string `json:"companyName" gorm:"column:company_name;size:100;comment:公司名称"`
	WorkDuration        string `json:"workDuration" gorm:"column:work_duration;size:50;comment:工作时长"`
	StatisticalTools    string `json:"statisticalTools" gorm:"column:statistical_tools;type:json;comment:统计软件（JSON 格式）"`
	BusinessDescription string `json:"businessDescription" gorm:"column:business_description;size:255;comment:相关业务介绍"`
	CertificateImage    string `json:"certificateImage" gorm:"column:certificate_image;size:255;comment:认证照片路径"`
	IsReviewed          bool   `json:"isReviewed" gorm:"column:is_reviewed;default:false;comment:是否审核"`
	IsApproved          bool   `json:"isApproved" gorm:"column:is_approved;default:false;comment:审核通过与否"`
	RejectionReason     string `json:"rejectionReason" gorm:"column:rejection_reason;size:255;comment:驳回理由"`
}
